package com.starryx.blog.dao;

import com.starryx.blog.po.User;
import org.springframework.data.jpa.repository.JpaRepository;

//                                           表对应的实体类，主键的类型
public interface UserRepository extends JpaRepository<User, Long>{

    User findByUsernameAndPassword(String username, String password);
}
